<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			
			if (navigator.userAgent.indexOf('Mobile') === -1) {
			   uni.reLaunch({
			   	  url:"/pages/index2/index2"
			   })
			}else{
				uni.reLaunch({
					  url:"/pages/index/index"
				})
			}
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
</style>
